<?php
	$admin_info 			= new Zendvn_System_Info();
	$admin_info 			= $admin_info->getMemberInfo();
	//----------------------- INPUT ELEMENTS -------------------//
	$ssFilter 		= $this->arrParam['ssFilter'];
	
	//var_dump($this->Item['name_caulacbo']);die;
	$name 				= $this->formText ( 'name', $this->Item['name'], array ('class' => ' active','style'=>'min-width:200px;', 'onchange'=>"get_alias()") );
	$selectCaulacbo		= $this->formSelect('id_clb',$this->Item['id_clb'],array( 'readonly'=>'readonly','size'=>0,'style'=>'min-width:200px;'),$this->slbClub);
	$iduser	 			= $this->formSelect('id_user',$this->Item['id_user'],array('size'=>0,'style'=>'min-width:200px;'),$this->slbUser);
	//$idclb	 			= $this->formHidden('id_clb',$this->Item['id_clb'],array('size'=>0,'style'=>'min-width:200px;'));
	
	$idkh 				= $this->formHidden('id_kh_clb',$this->Item['id'], array ('class' => ' active','style'=>'min-width:200px;', 'onchange'=>"get_alias()",'') );
	
	$Sotiendong 		= $this->formText ( 'sotiendong', $this->Item['sotiendong'], array ('class' => ' active txtshort auto_numberic','style'=>'min-width:200px;', 'onchange'=>"get_alias()") );
	$ngaydong 			= $this->formText ( 'ngaydong', $this->Item['ngaydong'], array ('class' => 'hasDatePicker active','style'=>'min-width:200px;', 'onchange'=>"get_alias()") );
	$ngayhethan 		= $this->formText ( 'ngayhethan', $this->Item['ngayhethan'], array ('class' => 'hasDatePicker active','style'=>'min-width:200px;', 'onchange'=>"get_alias()") );
	
	$content 		= $this->cmsEditor('content',htmlspecialchars_decode($this->Item['content']),array('toolbar'=>'MyToolbar', 'language'=>'vi'));
	
	$order 			= $this->formText ('order', $order, array ('class' => 'txtshort' ) );
	$string ='Họ Tên : '.$this->Item['name'].'<br/>'.$this->Item['email'].'<br/>Phone :'.$this->Item['phone'].'<br/>';
	
	$arrInput = array(
				
	
				//array('label' => 'Thành viên Clb','input' => $name),
				array('label' => 'Câu lạc bộ','input' => $selectCaulacbo, 'desc' => '<span class="red">*</span>'),
				array('label' => 'Số tiền đóng','input' => $Sotiendong),
				
				array('label' => 'Người thu tiền','input' => $iduser,'desc' => '<span class="red">*</span>'),
				array('label' => 'Ngày đóng','input' => $ngaydong),
				array('label' => 'Ngày hết hạn','input' => $ngayhethan),
				array('label' => 'Mô tả chi tiết','input' => $content),
				array('input' => $idkh),
				//array('input' => $idclb),
				
			);
	
	//-------------------- SESSAGES ERROR ------------------
	if(count($this->messageError)>0){
		$errors = $this->formErrors($this->messageError,array('id'=>'errors'));
	}
?>

<div class="left_content">
	<?php echo $this->render($this->arrParam['controller'] . '/toolbar/left.php');?>
</div>

<div class="right_content" style="background: #fff !important;">
	<div class="block_breadcrumb">
		<?php echo $this->blkBreadcrumbs('default'); ?>
	</div>
	<div class="appContent">
		<?php echo $this->render($this->arrParam['controller'] . '/toolbar/index.php');?>
	<form name="appForm" method="post" action="" enctype="multipart/form-data">
	<script>
	$(function() {
	$( "#tabs" ).tabs();
	});
	</script>
	<div id="tabs">	
	<ul>
	<li><a href="#tabs-1">Thu phí tham gia câu lạc bộ</a></li>
	</ul>		
	<div id="tabs-1">
	<div class="tblForm">
		<!-- BEGIN: CONTENT -->
		<div class="app_content goc10">
			<div class="width-60 fl"> 
				 <br/><br/>
						<p>Thông tin cá nhân :<p>
						<p><b>Họ tên  :<?php echo $this->ItemUser['name'];?></b></p>
						<p><b>Birthday:<?php echo $this->ItemUser['birthday'];?></b></p>
						<p><b>Email   :<?php echo $this->ItemUser['email'];?></b></p>
						<p><b>Mobile  :<?php echo $this->ItemUser['phone'];?></b></p>
					
					<table class="adminformlist">
						<?php echo $this->partialLoop('row.php', $arrInput);?>
					</table> 
			</div>
			
			<div class="clr"></div>
		</div>
		<!-- END: 	CONTENT -->
	</div>
	</div>
	</div>
	</form>
</div>
</div>
<div class="clr"></div>	